package edu.sctu.practice.class02.liuli.test.test13;

/**
 * Created by Administrator on 2015/10/20.
 */
public class Demo {
    public Demo(int x, int y) {
        while (x != y) {
            if (x > y) {
                System.out.println("较大值为" + x);
                break;
            } else {
                System.out.println("较大值为" + y);
                break;
            }
        }
    }

    public Demo(double a, double b, double c) {
        System.out.println("a*b*c=" + a * b * c);
    }

    public Demo(String a, String b) {
        if (a == b) {
            System.out.println("这两个数值是相同的");
        } else
            System.out.println("这两个数据时不同的");
    }

}

